const mongoose = require('mongoose');
const Schema = mongoose.Schema;
require('mongoose-long')(mongoose);

const Smf = new Schema({

    schema_version: {
        $type: Number,
        default: 1  // Current Schema Version
    },
    baseId: {$type: String, unique: true, required: true},
    config: Object

}, {typeKey: '$type'});

module.exports = mongoose.model('Smf', Smf);
